package han.service;

import han.pojo.Laws;
import han.pojo.LawsMap;

import java.util.List;

/**
 * @authou HanDianWei
 * @create 2020-10-27 14:58
 */
public interface LawsService {
    //    根据id查找规定
    Laws queryLawsById(int id);
    //    查找全部的规定的名字和id
    List<LawsMap> queryAllLaws();
    //    添加规定
    int addLaws(Laws laws);
    //    修改
    int updLaws(Laws laws);
    //删除
    int delLawsById(int id);

}
